10. Objects
Objects
Objects
Objects hold a state; they hold a group of variables/properties and functions.
You can imagine an Object like a box, and within that box are variables that define the state of an object and often functions that tell us what the object can do!
But we’re getting ahead of ourselves, let’s first see an example of an Object in action!